<div class="m-header pr">
    <div class="wrap cf">
        <h1 class="fl m-logo pt15">
            <a href="">
                <img class="vam" src="/img/index/LOGO.png"  alt="小马网"  height="46">
                <span class="fs20 dib vam">小马网</span>
            </a>
        </h1>
        <ul class="fl inline g_nav fs16">
            <li>
                <a href="/" title="首页"><strong>首页</strong></a>
            </li>
            {{--<li>--}}
                {{--<a href="/shimingrenzheng" title="实名认证">实名认证</a>--}}
            {{--</li>--}}

            <li>
                <a href="/guanwangrenzheng" title="官网认证">官网认证</a>
            </li>
            <li>
                <a href="/qiyerenzheng" title="行业认证">企业认证</a>
            </li>
            <li>
                <a href="/weixin" target="_blank" title="微信公众号">免费建站</a>
            </li>
            <li>
                <a href="/xiu" target="_blank" title="易企秀html5场景创建">H5企业秀</a>
            </li>
            <li>
                <a href="/help" title="帮助">帮助</a>
            </li>
            <li>
                <a href="/search" title="搜索">搜索</a>
            </li>
        </ul>
        <div class="fr" id="userAccount">
            @if (Route::has('login'))
                @if (Auth::check())
                    <div class="m-acount fr pr">
                        <strong class="_hd"><span><i class="f_ppb"></i></span></strong>
                        <ul class="pa r0 t100p wsn oh trans">
                            <li class="_user"><a href="/accounts/user">{{Auth::user()->name}}</a></li>
                            <li><a href="/cert">订单列表</a></li>
                            <li><a href="{{ route('logout') }}" onclick="event.preventDefault();
                                     document.getElementById('logout-form').submit();">退出账号</a>
                               <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                                   {{ csrf_field() }}
                               </form>
                            </li>
                        </ul>
                    </div>
                @else
                    <a href="{{ url('/login') }}" class="j-login fr m-login" title="登录"><i class="f_ppb"></i> 登录</a>
                    <a href="{{ url('/register') }}"  class="j-login fr m-login" title="注册"><i class="f_ppb"></i> 注册</a>
                @endif
            @endif
        </div>

        <form class="fr pr m-search" target="_blank" id="searchCredit" method="GET" action="{{ route('searchsite') }}">
            <fieldset class="pa">
                <input id="searchRepu" required="required" class="pa t50p" placeholder="请输入网址查询网站或企业名称" name="search_key" autocomplete="off" spellcheck="false" value="" type="text">
                <button type="submit" class="trans pa">
                    <i class="f_ppb fs18 fl">㐾</i>
                    <span>快速查询认证</span>
                </button>
                <div class="s_example pa trans transd1">
                    <p class="fs12">例如:</p>
                    <ul class="fs14">
                        <li>
                            <a class="transd2 trans ell" href="{{ route('searchsite',['search_key'=>'http://www.ma.cn/']) }}" target="_blank">http://www.ma.cn/</a>
                        </li>
                        <li>
                            <a class="transd3 trans ell" href="{{ route('searchsite',['search_key'=>'http://www.ht.cn/']) }}" target="_blank">http://www.ht.cn/</a>
                        </li>
                    </ul>
                </div>
            </fieldset>
        </form>
    </div>
    <div class="sb pa t0 l0 w100p">
        <div class="wrap cf">
            <p class="fl a fs12">
                <a target="_blank" class="fl0" title="小马网QQ客服" href="">咨询QQ：800100341</a>
                <i class="divider"></i>
                <strong>咨询热线：400-888-1139</strong>
                <i class="divider"></i>
                <a target="_blank" title="新闻公告" href="{{route('news')}}"> 新闻公告</a>
            </p>
        </div>
    </div>
</div>
